﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CenterNewsChildItem.ascx.cs"
    Inherits="Controls_CenterNewsChildItem" %>
<div class="blk_nd">
    <h1 class="title_blk_nd">
        <a class="theloai_hot" href='<%=UrlBuilder.GetCategory(TermTaxonomyTextId) %>'>
            <asp:Literal ID="LiteralTitle" runat="server"></asp:Literal></a></h1>
    <!-- End .title_blk_nd -->
    <div class="main_blk_nd">
        <asp:Repeater ID="rpt" runat="server">
            <ItemTemplate>
                <div class="sp_i_nd">
                    <span><a href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString(),Eval("CreatedDate")) %>">
                        <img src="<%#UrlBuilder.GetImage(Eval("ImageUrl").ToString(),200,150,true) %>" alt="<%#Eval("Title") %>">
                    </a></span>
                </div>
                <!-- End .sp_i_nd -->
                <div class="text_nd">
                    <h1>
                        <a title="<%#Eval("Title") %>" href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString(),Eval("CreatedDate")) %>">
                            <%#Eval("Title") %></a>
                    </h1>
                    <p class="date-time">
                        <%--    18-07-2013 19:15:33 | lượt xem : 381--%>
                        <%#FormatString.DateTimeToString(Eval("ModifiedDate").ToString()) %>
                    </p>
                    <p>
                        <%#FormatString.SplitString( Eval("Summary"),250) %>
                    </p>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        <!-- End .text_nd -->
        <div class="clear">
        </div>
        <div class="news_other">
            <ul>
                <asp:Repeater ID="rpt2" runat="server">
                    <ItemTemplate>
                        <li><a title=" <%#Eval("Title") %>" href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString(),Eval("CreatedDate")) %>">
                            <%#Eval("Title") %></a></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <!-- End .news_other -->
    </div>
    <!-- End .main_blk_nd -->
</div>